<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
	</head>
	<body>
		<div id="app">
			<essay title="南京 x地发生xxx事件" time="2024-11-29"></essay>
			<essay title="南京aaaaaa" ></essay>
			
		</div>
		<script>
			
			var app = Vue.createApp({
				data(){
					return{
						"message":"Hello Vue!"
					}
				}
			});
			
			app.component("essay",{
				template:"<div><h2>标题:{{title}}{{time}}</h2></div>"
				props:["title","time"]
			})
			var vm = app.mount("#app")
			
			
		</script>
	</body>
</html>
